-- 悬浮窗口
function fwTestPoint(pointTab)
  local psize = 20
  local step = 10
  local x = pointTab[1]
  local y = pointTab[2]
  local x1 = x - step
  local y1 = y - step
  local x2 = x + step
  local y2 = x + step
  fwShowWnd("wid", x1, y1, x2, y2, 1)
  fwShowTextView("wid", "textid", "田田", "center", "ffffff", "ff00ff", psize, 0, 0, 0, psize, psize, 1)
  mSleep(sysInit.tapms)
  closeFw()
end

function fwTestSize(size)
  local psize = 20
  local step = 10
  local x1 = size[1]
  local y1 = size[2]
  local x2 = size[3]
  local y2 = size[4]

  local xSize = x2 - x1
  local ySize = y2 - y1
  fwShowWnd("wid", x1, y1, x2, y2, 1)
  fwShowTextView("wid", "textid", "田田", "center", "ffffff", "ff00ff", psize, 0, 0, 0, xSize, ySize, 1)
  mSleep(10000)
  closeFw()
end

function fwTestToastSize(size)
  local x1 = size[1]
  local y1 = size[2]
  local x2 = size[3]
  local y2 = size[4]
  RxToast('x1='..x1..' y1='..y1..' x2='..x2..' y2='..y2)
end
